/*
 * player.h
 */

#ifndef PLAYER_H_
#define PLAYER_H_

#include "unit.h"

/*
 * Creates the player unit at the given location, returning a pointer to the
 * corresponding unit struct.
 */
unit * player_create( unsigned long x, unsigned long y, unsigned long z,
    const char *name, void *stats );

/*
 * Returns the current player as a pointer to a unit.
 */
unit * player_get();

unsigned int player_get_x();

unsigned int player_get_y();

unsigned int player_get_z();

#endif
